#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
	int n,m;
	scanf("%d %d",&n,&m);
	if((min(n,m))%2) cout<<"Akshat"<<endl;
	else cout<<"Malvika"<<endl;
} 
